home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-03-19 | 2.3 KB | 70 lines | [TEXT/MPS ] |
- ######################################################################
- # TestedFunctionsSummary()
- #=====================================================================
- # Author: CJ
- # Description: Outputs a summary to the log file of the standard
- # functions tested in a specific application test script.
- # Parameters: none.
- # globals: gTestedFunctionsList - list of boolean values and one or more
- # optional strings for application specific functionality
- # Elements: 1 - Text
- # 2 - Draw
- # 3 - Window
- # 4 - <string> for application specific functionality
- # Note: if there is more than one application specific function
- # description there can be as many strings after the 3rd element
- # as necessary, i.e. there can be 4th, and 5th, and 6th, etc. elements
- # Returns: Nothing
- # Examples: TestedFunctionsSummary({1,1,1,"Database record creation tested"})
- # Common Use: Called using gDoCloseAppHook3
- #=====================================================================
- # History:
- # 5/16/96 PF Changed to use global gTestedFunctionsList instead of parameter
- # 4/29/96 CJ Created
- ######################################################################
- TASK TestedFunctionsSummary()
- begin
-
- global gAppTitle, gAppVersion, gTestedFunctionsList;
-
- logstr ("********* {gAppTitle} {gAppVersion} Tested Functions Summary ***********");
- if (gTestedFunctionsList)
- begin
- println ("∂t∂t∂t∂t********* gTestedFunctionsList := {gTestedFunctionsList}");
-
- if (gTestedFunctionsList[1])
- Println ("∂t∂t∂t∂t∂t∂tText∂t∂t∂t∂ton");
- else
- Println ("∂t∂t∂t∂t∂t∂tText∂t∂t∂t∂toff");
-
- if (gTestedFunctionsList[2])
- Println ("∂t∂t∂t∂t∂t∂tDraw∂t∂t∂t∂ton");
- else
- Println ("∂t∂t∂t∂t∂t∂tDraw∂t∂t∂t∂toff");
-
- if (gTestedFunctionsList[3])
- Println ("∂t∂t∂t∂t∂t∂tWindow∂t∂ton");
- else
- Println ("∂t∂t∂t∂t∂t∂tWindow∂t∂toff");
-
- if (gTestedFunctionsList[4])
- begin
- Println ("∂t∂t∂t∂t∂t∂tApplication Specific Functionality");
- otherFunctions := card(gTestedFunctionsList) - 3;
- thisFunc := 1;
- while (thisFunc <= otherFunctions)
- begin
- Println ("∂t∂t∂t∂t∂t∂t∂t∂t{gTestedFunctionsList[thisFunc+3]}");
- thisFunc := thisFunc + 1;
- end;
- end;
- end;
- else
- println ("∂t∂t∂t∂t!!!!! No list was provided for TestedFunctionsSummary");
-
- println ("∂t∂t∂t∂t********************** End of Summary *************************************");
-
- end; #TestedFunctionsSummary()
-
-
-